package LinkedList_03.Single_Linked_List_03.LinkedList_new_01;

/*
 * @Author 罗
 * @date 2020/3/16 - 7:15 下午
 *
 */

import org.junit.Test;

import java.util.LinkedList;


public class TestGeneralLinkedList_01 {

    @Test
    public void testLinkedList(){
        LinkedList a;
        LinkedListSingle<Integer> list = new LinkedListSingle<>();

        list.addOrderly(56);
        list.addOrderly(1);
        list.addOrderly(99);
        list.addOrderly(3);

        list.show();
        System.out.println(list.get(4));
    }
}
